home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 April / Disc 1 / PCU0403CD1.iso / magstuff / internet / files / bepro.exe / %PROGRAMPATH% / common / Style / style.lex < prev    next >
Encoding:
Text File  |  2003-02-12  |  720 b   |  24 lines

  1. # $Id: style.lex,v 1.3 1996/09/12 17:25:24 steveb Exp $
  2. # Copyright (C) 1987-1995 Verity, Inc.
  3. # This is the one which is hit --hsc
  4. # Document Dataset Descriptor
  5. #
  6. $control: 1
  7. $charmap: 8859
  8. lex:
  9. {
  10.     define:    WHT        "[ \t]"
  11.     define:    NL        "{WHT}*\n"
  12.  
  13.     #token:     WORD  "[ΩεΣ╩╬─└δßα]+"
  14.     token:    WORD    "[A-Za-z0-9/&'±╤└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδφ∞ε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ]+"    #word
  15.     token:    WORD    "[a-z0-9/&'±╤]+"    #word
  16.  
  17.     token:    WORD    "[0-9]+\\.[0-9]+"    #word
  18.     token:    EOS        "[.?!]"                #end of sentence
  19.     token:    NEWLINE    "{NL}"                #single end-of-line
  20.     token:    PARA    "{NL}{NL}"            #end of paragraph
  21.     token:    WHITE    "{WHT}"                #whitespace
  22.     token:    PUNCT    "."                    #all other text
  23. }
  24. $$